package risk.client.logic;

/**
 * A class to describe a move in the game
 * 
 * @author: Johan
 */
public class Move {
    private Node start, target;
    private int units;

    /**
     * Create a new node
     * 
     * @author: Johan
     * @param start
     * @param target
     * @param units
     */
    public Move(Node start, Node target, int units) {
        this.start = start;
        this.target = target;
        this.units = units;
    }
    
    /**
     * Return start node
     *
     * @author: Johan
     * @return start
     */
    public Node getStart() {
        return start;
    }
    
    /**
     * Return target node
     * 
     * @author: Johan
     * @return target
     */
    public Node getTarget() {
        return target;
    }
    
    /**
     * Get units
     * 
     * @author: Johan
     * @return units
     */
    public int getUnits() {
        return units;
    }
}